home *** CD-ROM | disk | FTP | other *** search
/ Computer Music Interactif…cial Edition 1999 Winter / cd 3.iso / mac / Mac / Shares / Midishare™1.68 / Development Tools / Smalltalk / Makefile next >
Encoding:
Makefile  |  1995-10-10  |  1.1 KB  |  39 lines  |  [TEXT/MPS ]

  1. #    File MakeFile.MPW3.2 -  Make MidiShare™ Primitives.
  2. #
  3. #    The Smalltalk Virtual Machine has a SIZE resource #128
  4. #    which allows the user to set the size of the heap zone
  5. #    for user primitives.  It is currently set to 1024K, you
  6. #    may have to change this value to accomodate your routines.
  7. #    This change is most easily accomplished with resEdit by
  8. #    editing the st80.rcs file.
  9. #
  10. Libs =    "{Libraries}"Interface.o ∂
  11.         "{Libraries}"Runtime.o ∂
  12.         "{CLibraries}"StdCLib.o ∂
  13.         "{CLibraries}"CSANELib.o ∂
  14.         "{CLibraries}"Math.o
  15.  
  16. SUBSYS = uprim
  17. # define -d UNSAFE here if you want to live dangerously
  18. SAFETY = 
  19. CDBUG = -sym on -mbg on -d ASSERT
  20. CPROC = -mc68020
  21. COptions = -W -s {SUBSYS} -b {SAFETY} {CPROC} {CDBUG}
  22.     
  23.  
  24. UserPrim ƒ st80-midi
  25.  
  26. st80-midi ƒƒ st80.ru st80-midi.c.o st80.lib
  27.     Link -ma power=pow -ra =52 -p -t APPL -w -c 'HPS4' st80-midi.c.o ∂
  28.         st80.lib {Libs} -o st80-up
  29.     SetFile -a B -c HPS4 -t APPL st80-up    # set the bundle bit
  30.     date > st80-midi
  31.  
  32. st80-midi.c.o ƒ st80-midi.c UserPrim.h
  33.     C {COptions}  st80-midi.c -o st80-midi.c.o
  34.     
  35. st80.ru ƒ st80.rcs
  36.     Duplicate st80.rcs st80-up -y
  37.     SetFile -a B -c HPS4 -t APPL st80-up    # set the bundle bit
  38.     date > st80.ru
  39.